/**
 * 
 */

package com.shy.portal.vo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Title: RoleMenuVo
 * </p>
 * <p>
 * Description: 角色菜单vo，用於返回樹形菜单json，可根據easyui樹形結構支持的属性進行擴展
 * </p>
 * <p>
 * Company:ipebg
 * </p>
 * 
 * @author H2013788
 */
public class RoleMenuVo {

    /**
     * ID
     */
    private Integer id;
    /**
     * 文本
     */
    private String text;
    /**
     * 按鈕类型
     */
    private String iconCls;
    /**
     * 子菜单
     */
    private List<RoleMenuVo> children;
    /**
     * 状态
     */
    private String state;
    /**
     * 結果
     */
    private boolean checked = false;
    /**
     * 参数
     */
    private Map<String, Object> attributes;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the text
     */
    public String getText() {
        return text;
    }

    /**
     * @param text
     *            the text to set
     */
    public void setText(String text) {
        this.text = text;
    }

    /**
     * @return the iconCls
     */
    public String getIconCls() {
        return iconCls;
    }

    /**
     * @param iconCls
     *            the iconCls to set
     */
    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    /**
     * @return the children
     */
    public List<RoleMenuVo> getChildren() {
        return children;
    }

    /**
     * @param children
     *            the children to set
     */
    public void setChildren(List<RoleMenuVo> children) {
        this.children = children;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state
     *            the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * @return the checked
     */
    public boolean isChecked() {
        return checked;
    }

    /**
     * @param checked
     *            the checked to set
     */
    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    /**
     * @return the attributes
     */
    public Map<String, Object> getAttributes() {
        return attributes;
    }

    /**
     * @param attributes
     *            the attributes to set
     */
    public void setAttributes(Map<String, Object> attributes) {
        this.attributes = attributes;
    }

}
